﻿using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using System.IO;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using DDD.Core;

using FloatComparer = DDDTest.Helper.FloatComparer;

namespace DDDTest.Core {
    [TestClass]
    public class TestGlobalSettings {

        [TestMethod]
        public void Test_Torelance () {
            var tmp = GlobalSettings.Tolerance;

            Assert.AreEqual (0.00001f, GlobalSettings.Tolerance);

            GlobalSettings.Tolerance = 0.1f;

            Assert.AreEqual (0.1f, GlobalSettings.Tolerance);
        }

    }
}
